package com.sunq.studio.sys.domain;

import java.io.Serializable;

/**
 * sys_resource_content
 * @author 
 */
public class SysResourceContent implements Serializable {
    private Integer id;

    private String icon;

    private String simpDesc;

    private String subTitle;

    private String detailDesc;

    private String artists;

    private String classfiy;

    private Integer orderbys;

    private Integer delFlag;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getSimpDesc() {
        return simpDesc;
    }

    public void setSimpDesc(String simpDesc) {
        this.simpDesc = simpDesc;
    }

    public String getSubTitle() {
        return subTitle;
    }

    public void setSubTitle(String subTitle) {
        this.subTitle = subTitle;
    }

    public String getDetailDesc() {
        return detailDesc;
    }

    public void setDetailDesc(String detailDesc) {
        this.detailDesc = detailDesc;
    }

    public String getArtists() {
        return artists;
    }

    public void setArtists(String artists) {
        this.artists = artists;
    }

    public String getClassfiy() {
        return classfiy;
    }

    public void setClassfiy(String classfiy) {
        this.classfiy = classfiy;
    }

    public Integer getOrderbys() {
        return orderbys;
    }

    public void setOrderbys(Integer orderbys) {
        this.orderbys = orderbys;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        SysResourceContent other = (SysResourceContent) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon()))
            && (this.getSimpDesc() == null ? other.getSimpDesc() == null : this.getSimpDesc().equals(other.getSimpDesc()))
            && (this.getSubTitle() == null ? other.getSubTitle() == null : this.getSubTitle().equals(other.getSubTitle()))
            && (this.getDetailDesc() == null ? other.getDetailDesc() == null : this.getDetailDesc().equals(other.getDetailDesc()))
            && (this.getArtists() == null ? other.getArtists() == null : this.getArtists().equals(other.getArtists()))
            && (this.getClassfiy() == null ? other.getClassfiy() == null : this.getClassfiy().equals(other.getClassfiy()))
            && (this.getOrderbys() == null ? other.getOrderbys() == null : this.getOrderbys().equals(other.getOrderbys()))
            && (this.getDelFlag() == null ? other.getDelFlag() == null : this.getDelFlag().equals(other.getDelFlag()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getIcon() == null) ? 0 : getIcon().hashCode());
        result = prime * result + ((getSimpDesc() == null) ? 0 : getSimpDesc().hashCode());
        result = prime * result + ((getSubTitle() == null) ? 0 : getSubTitle().hashCode());
        result = prime * result + ((getDetailDesc() == null) ? 0 : getDetailDesc().hashCode());
        result = prime * result + ((getArtists() == null) ? 0 : getArtists().hashCode());
        result = prime * result + ((getClassfiy() == null) ? 0 : getClassfiy().hashCode());
        result = prime * result + ((getOrderbys() == null) ? 0 : getOrderbys().hashCode());
        result = prime * result + ((getDelFlag() == null) ? 0 : getDelFlag().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", icon=").append(icon);
        sb.append(", simpDesc=").append(simpDesc);
        sb.append(", subTitle=").append(subTitle);
        sb.append(", detailDesc=").append(detailDesc);
        sb.append(", artists=").append(artists);
        sb.append(", classfiy=").append(classfiy);
        sb.append(", orderbys=").append(orderbys);
        sb.append(", delFlag=").append(delFlag);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}